package com.example.teamwork.service;

import com.example.teamwork.informationGet.InterVo;
import com.example.teamwork.informationGet.PageVO;
import com.example.teamwork.pojo.Inter;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author  SongPeng
 * @date  2021/11/9 17:29
 * @version 1.0
 */

@Service
public interface InterService {
    PageVO<InterVo> findInterList(Integer pageNum, Integer pageSize, InterVo interVo);
    void deleteById(Long InterId);

    void add(InterVo interVo);

    void update(Long interId, InterVo interVo);

    InterVo edit(Long interId);

    List<Inter> findAll();

}
